Action

An action providing a response to the RequestPermissionCallback.

Constructors

Link copied to clipboard
constructor(consumer: Consumer<Response>)

Functions

Link copied to clipboard
open fun deny()
Notifies the browser that the requested permission should be denied.
Link copied to clipboard
open fun grant()
Notifies the browser that the requested permission should be granted.
Link copied to clipboard
Returns true if this action is closed.